<template>
	<div>
		<van-nav-bar title="验证手机号" left-arrow @click-left="onClickLeft" />
    <div class="nav">
    <van-cell-group>
    <van-field v-model="username" class="iconfont icon-shouji phone" center placeholder="+86  请输入手机号"/>
    <div class="yzm">
      <van-field v-model="sms" center clearable placeholder="验证码" class="sms" >
      </van-field>
      <van-button slot="button" size="small" type="primary" class="button">获取验证码</van-button>
    </div>
    <van-button round type="info"  @click="login" class="login">下一步</van-button>
    </van-cell-group>
    </div>
	</div>
</template>

<script>
	export default{
		name:"Phone",
    data() {
      return {
        username:'',
        password:'',
        password: '',
        sms: '',
        mima:'',
        qrmima:'',
        yqma:'',
      }
    },
    methods: {
      onClickLeft() {
        this.$router.go(-1)
      },
      login(){

      }
	},
  }
</script>

<style scoped="">
  body{
      display: flex;
      flex-direction: column;
    }
    .van-nav-bar__title{
      color: #fff;
      font-size: 14px;
    }
    .van-nav-bar{
      height: 46px;
      background: #d46170;
    }
    .van-field__control::placeholder{
      color: #c5c9ca;
    }
    .van-icon, .van-icon::before{
      color:#FFF;
      font-size: 12px;
    }
    .van-nav-bar__text{
      color:#fff;
      font-size: #12px;
    }
  .nav{
    margin-top: 44px;
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      align-items: center;
    }
    .nav .icon-shouji:before{
      font-size: 20px;
      color: #b85261;
    }
      .nav .phone,
    .nav .sms {
        background: #eff3f4;
        font-size: 12px;
      }
      .nav .phone {
        width: 276px;
        height: 36px;
        margin: 0 auto;
        margin-bottom: 14px;
        border-radius: 18px;
      }

    .nav .yzm {
      width: 276px;
      height: 36px;
      margin: 0 auto;
      margin-bottom: 14px;
      display: flex;
      justify-content: space-between;
    }
    .nav .button {
      height: 36px;
      width: 84px;
      border-radius: 18px;
      background: #fcabb2;
      border: 0;
    }

    .nav .sms {
      width: 184px;
      height: 36px;
      border-radius: 18px;
    }
    .nav .login {
      width: 276px;
      height: 36px;
      background: #d46170;
      border: 0;
      margin: 0 0 26px 0;
    }
</style>
